<%-- 
    Document   : reservaListarCines
    Created on : 27-dic-2011, 2:51:18
    Author     : Administrador
--%>
<%@taglib  prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <jsp:include page="index.jsp" />
        <table border="0">
            <tr height="200">
                <td width="900"></td>
                <td><a href="index.jsp">Ir a pagina principal</a></td>
            </tr>
        </table>
        <c:if test="${not empty sessionScope.cines}">
            <table>
                <tr>
                    <td width="360"></td>
                    <td width="200"></td>
                    <td width="150"></td>
                    <td width="150"></td>
                    <td width="150"></td>
                    <td width="150"></td>
                </tr>
                <tr>
                    <td></td>
                    <td><b>Nombre</b></td>
                    <td><b>Direccion</b></td>
                    <td><b>Ciudad</b></td>
                    <td><b>Encargado</b></td>
                    <td><b>Seleccione</b></td>
                </tr>
                <c:forEach var="cine" items="${sessionScope.cines}">
                    <tr>
                        <td></td>
                        <td>${cine.nombre}</td>
                        <td>${cine.direccion}</td>
                        <td>${cine.ciudad}</td>
                        <td>${cine.encargado}</td>
                        <td><a href="reservaCineSeleccionado?idCine=${cine.id}" style="color:white; text-decoration:none">seleccionar</a>
                    </tr>
                </c:forEach>
            </table>
        </c:if>
    </body>
</html>
